package ru.evga.inse.server.gwt.user.client.menu.admin.entities.street;

import ru.evga.inse.server.gwt.user.client.menu.admin.IAdminPlace;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;


public class StreetPlace
    extends Place
    implements IAdminPlace
{
    public static final String TOKEN = "adminStreet";

    public static class Tokenizer
        implements PlaceTokenizer<StreetPlace>
    {
        public String getToken(StreetPlace place)
        {
            return TOKEN;
        }

        public StreetPlace getPlace(String token)
        {
            return new StreetPlace();
        }
    }
}
